package com.wms.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("接口统一返回结果")
public class ResultBean<T> {

    @ApiModelProperty(value = "状态码 0失败 200正常")
    int code;
    @ApiModelProperty(value = "接口返回信息描述")
    String msg;
    @ApiModelProperty(value = "接口返回数据")
    T data;
}
